﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TemplateList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Template.Template.TemplateList" %>


<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" runat="Server" class="pageForm" 
    onsubmit="return navTabSearch(this);" action="/SystemManage/Template/Template/TemplateList.aspx">
<%=_framePage.TabInfoHtml()%>

<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
		</ul>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="buttonActive" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add"  href="/SystemManage/Template/Template/TemplateDetail.aspx" target="navTab" rel="TemplateDetail" title="模板明细"><span>添加</span></a></li>
            <li><a class="delete" href="/SystemManage/Template/Template/TemplateDelete.aspx" target="selectedTodo" title="请确定要删除勾选模板"><span>删除</span></a></li>
		</ul>
	</div>
	<div class="tableList" layoutH="116">
	<table class="list" targetType="navTab">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="200px">效果图</th>
				<th width="100px">模板名</th>
				<th width="180px">备注</th>
				<th width="100px" align="center">页面管理</th>
				<th width="100px" align="center">参数定义</th>
				<th width="120px" align="center">基本操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repeater1">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
				    <td align="center"><img src="<%# ZLCMS.Business.Util.FileKit.FirstFilePath(Eval("ImageUrl"))%>" alt="效果图" height="150" /></td>
				    <td><%# Eval("Name")%></td>			
                    <td><%# Eval("Memo")%></td> 
				    <td align=center> 
                     <a href="/SystemManage/Template/Template/TemplatePageList.aspx?tid=<%# Eval("Id")%>" target="navTab" rel="TemplateDetail" title="页面管理">管理</a>
                    </td>
                    <td align=center>
                    <a href="/SystemManage/Template/Template/ParamConfig.aspx?uid=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="navTab" rel="ParamConfig" title="模板参数管理">管理</a>
                    </td>
				    <td align=center>
                        <a href="/SystemManage/Template/Template/TemplateDetail.aspx?uid=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="navTab" rel="TemplateDetail" title="模板明细">编辑</a>&nbsp;&nbsp;
				        <a href="/SystemManage/Template/Template/TemplateDelete.aspx?ids=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="ajaxTodo" title="请确定要删除当前模板">删除</a>
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>

<%= _framePage.GetPagerContentHtml() %>

</div>
</form>

